//
//  CustomDrawView.h
//  iMagic
//
//  Created by Tang Xiaoping on 6/10/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface CustomDrawView : UIView {
    NSMutableArray *imageArray;
	NSMutableArray *labelArray;
	UIImage *yourImage;
}
- (void)loadImage;
- (void)loadLabel;
- (void)randomImage;

- (UIImage*)getYourImage;
@end

void drawText(CGContextRef ctx, float x, float y, NSString* text);
void drawTexture(CGContextRef ctx, CGRect rect, UIImage* image);

@interface NSMutableArray (Shuffling)
- (void)shuffle;
@end